package edu.ucsc.gameAI.conditions;

import edu.ucsc.gameAI.ICondition;
import pacman.game.Game;

public class GhostEatScore implements ICondition{

	int min;
	int max;

	public GhostEatScore(int min, int max) {
		this.min = min;
		this.max = max;
	}

	public boolean test(Game game) {
		return min <= game.getGhostCurrentEdibleScore() && max >= game.getGhostCurrentEdibleScore();
	}

}
